Producing a Dialog Box for Selecting Restricted Formats

You might want to use the dialog box created by the acmFormatChoose21ZW2Z0 function, but limit or control the formats in the dialog box. You can do this by using the ACMFORMATCHOOSE_STYLEF_ENABLEHOOK flag to hook the dialog procedure. The application can then filter the formats by responding to the MM_ACM_FORMATCHOOSEJA9SHM message in the message procedure for the dialog box.